package com.toma.booking.dto;

import java.io.Serializable;
import java.sql.Timestamp;

public class FrequestDto implements Serializable {

//	CREATE table FREQUEST (
//		    "EMAIL"      VARCHAR2(40) NOT NULL,
//		    "EMAIL2"     VARCHAR2(40) NOT NULL,
//		    "REGDATE"    TIMESTAMP,
//		    "FSTATUS"  VARCHAR2(5)
//		);
//
//		ALTER TABLE frequest
//					ADD
//						CONSTRAINT frequest_PK
//						PRIMARY KEY (
//							email,
//							email2
//							);
//
//
//	ALTER TABLE frequest
//		ADD
//			CONSTRAINT member_TO_frequest_FK3
//			FOREIGN KEY (
//				email
//			)
//			REFERENCES member (
//				email
//			);
//
//	ALTER TABLE frequest
//		ADD
//			CONSTRAINT member_TO_frequest_FK
//			FOREIGN KEY (
//				email2
//			)
//			REFERENCES member (
//				email
//			);


	
	private String email;
	private String email2;
	private Timestamp regdate;
	//private String freq;
	//private String fres;
	private String fstatus;
	public FrequestDto() {
		super();
		// TODO Auto-generated constructor stub
	}
	public FrequestDto(String email, String email2, Timestamp regdate,
			String fstatus) {
		super();
		this.email = email;
		this.email2 = email2;
		this.regdate = regdate;
		this.fstatus = fstatus;
		
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getEmail2() {
		return email2;
	}
	public void setEmail2(String email2) {
		this.email2 = email2;
	}
	public Timestamp getRegdate() {
		return regdate;
	}
	public void setRegdate(Timestamp regdate) {
		this.regdate = regdate;
	}
	public String getFstatus() {
		return fstatus;
	}
	public void setFstatus(String fstatus) {
		this.fstatus = fstatus;
	}
	
	@Override
	public String toString() {
		return "FrequestDto [email=" + email + ", email2=" + email2
				+ ", regdate=" + regdate + ", fstatus=" + fstatus + "]";
	}
	
	
	
	
}
